home *** CD-ROM | disk | FTP | other *** search
- %% $Id: xyps-dto.doc,v 2.10 1994/06/15 12:46:03 ross Exp $
- %%
- %% XY-pic ``dvitops driver'' PostScript backend support.
- %% Copyright (c) 1993-1994 Ross Moore <ross@mpce.mq.edu.au>
- %%
- %% This file is part of the XY-pic package for graphs and diagrams in TeX.
- %% See the companion README and INSTALL files for further information.
- %% Copyright (c) 1991-1994 Kristoffer H. Rose <kris@diku.dk>
- %%
- %% The XY-pic package is free software; you can redistribute it and/or modify
- %% it under the terms of the GNU General Public License as published by the
- %% Free Software Foundation; either version 2 of the License, or (at your
- %% option) any later version.
- %%
- %% The XY-pic package is distributed in the hope that it will be useful, but
- %% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- %% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- %% for more details.
- %%
- %% You should have received a copy of the GNU General Public License along
- %% with this package; if not, write to the Free Software Foundation, Inc.,
- %% 675 Mass Ave, Cambridge, MA 02139, USA.
- %%
- \ifx\xypsdtoloaded\relax \message{not reloaded}\endinput \fi
- \let\xypsdtoloaded=\relax \xycatcodes
-
- \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- This included file (version \stripRCS$Revision: 2.10 $) provides \XY-ps
- support for the |dvitops| DVI driver by James Clark.
-
- \BUG: This code has not been tested!
-
- \DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \DOCHEADER
-
- \DOCMODE(
- \xywarnifdefined\dvitopsSpecial@
- \xywarnifdefined\dvitopsMacro@
- \xywarnifdefined\dvitopsRaw@
- \xywarnifdefined\dvitopsInclude@
- {\catcode`"=11 \catcode`!=11 \catcode`:=11
- \gdef\dvitopsSpecial@#1{\firstPS@@\special{dvitops: inline #1}}
- \gdef\dvitopsMacro@#1{\firstPS@@\special{dvitops: inline mark{#1}xy}}
- \gdef\dvitopsRaw@#1{\firstPS@@\special{dvitops: inline #1}}%
- \gdef\dvitopsInclude@#1{\firstPS@@\special{dvitops: prolog #1}}
- }
- \DOCMODE)
-
- \DOCMODE(
- \xydef@\dvitops@{\gdef\dvitype@{dvitops }\dvimessage@
- \global\let\PSspecial@=\dvitopsSpecial@
- \global\let\PSmacro@=\dvitopsMacro@
- \global\let\PSdict@=\dvitopsMacro@
- \global\let\PSraw@=\dvitopsRaw@
- \global\let\PSinclude@=\dvitopsInclude@
- \global\let\xyPSobeylines@=\obeyDVITOPSlines@
- \ifUsePSdict@@
- \gdef\firstPS@@{\firstPS@ \includeXYPSdict@}%
- \gdef\endXYdict@{\firstPS@}%
- \else
- \gdef\firstPS@@{\firstPS@ \@PSshipout}\gdef\endXYdict@{\firstPS@}\fi
- }%
-
- \xywarnifdefined\obeyDVITOPSlines@
- {\catcode`\^^M=\active
- \gdef\obeyDVITOPSlines@{\catcode`\^^M=\active \let^^M=\par \obeyspaces}}
- \DOCMODE)
-
- |dvitops| requires the \PS\ dictionary to be included in the prolog,
- else shipped-out with every page. To handle this latter situation
- efficiently we rebind |\shipout|.
-
- \DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- \paragraph*{The end \& Log}\leavevmode
-
- \DOCMODE(
- \xyendinput
-
- % $Log: xyps-dto.doc,v $
- % Revision 2.10 1994/06/15 12:46:03 ross
- % Second release 3beta.
- % Colour and line style saving works; label colouring bug fixed.
- %
- % Revision 2.10 1994/06/15 12:46:03 ross
- % Second release 3beta.
- % Colour and line style saving works; label colouring bug fixed.
- %
- % Revision 2.9 1994/06/09 14:38:56 ross
- % Release 3beta.
- % Includes support for special effects: Rotations, Scaling, Line-width, Colour.
- % Back-ends are separated into separate files.
- % More back-ends are supported, experimentally --- needs testing.
- %
- % NEW for version 2.9 by Ross Moore 1994/05/30.
- \DOCMODE)
-
- \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- % Tell Emacs that this is a LaTeX document and how it is formatted:
- % Local Variables:
- % mode:latex
- % fill-column:77
- % fill-prefix:""
- % End:
-